﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ControlFace;
using System.Drawing;
namespace EtalkClient
{
    [Serializable]
    public class ActionUsers : List<ActionUser>
    {

    }
    [Serializable]
    public class ActionUser
    {
        public ActionUser(string ID, string Name, string _Underwrite, UserSex _Sex, Bitmap _Head, string _Mobile, string _Email)
        {
            this.userID = ID;
            this.userName = Name;
            this.Underwrite = _Underwrite;
            this.mobile = _Mobile;
            this.email = _Email;
            this.sex = _Sex;
            this.head = _Head;
        }
        string userID;
        public string UserID { get { return this.userID; } }
        string userName;
        public string UserName { get { return this.userName; } }
        public string Underwrite { get; set; }

        UserSex sex;
        public UserSex Sex { get { return this.sex; } }
        string mobile;
        public string Mobile { get { return this.mobile; } }
        string email;
        public string Email { get { return this.email; } }
       
         Bitmap head;
         public Bitmap Head { get { return head; } }
    }

    [Serializable]
    public class MessageHistory
    {
        private string userkey;
        public string UserKey
        {
            get { return userkey; }
            set { userkey = value; }
        }
        private string msg;
        public string MsgContent
        {
            get { return msg; }
            set { msg = value; }
        }
    }
}
